package com.yida.gwj.expend.outside.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.yida.common.core.web.controller.BaseController;
import com.yida.common.core.web.domain.AjaxResult;
import com.yida.gwj.expend.outside.service.GwjExpendOutsideBasicDataService;

/**
 * 查询基础数据
 * 
 * @author hmh
 * @date 2023/07/10
 */
@RestController
@RequestMapping("/expend/outside/basic/data")
public class GwjExpendOutsideBasicDataController extends BaseController {

    @Autowired
    private GwjExpendOutsideBasicDataService gwjExpendOutsideBasicDataService;

    /**
     * 查询银行Map
     * 
     * @param areaId
     * @return
     */
    @GetMapping("/selectFinanceBankMap/{areaId}")
    public AjaxResult selectFinanceBankMapInner(@PathVariable("areaId") Long areaId) {
        return AjaxResult.success(gwjExpendOutsideBasicDataService.selectRemoteFinanceBankList(areaId));
    }
}
